<%@ page contentType="text/html; charset=utf-8"%>
<%@ include file="/global/jsp-header.jsp"%>
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html">
<title>发送邮件</title>
<%@ include file="/global/html-header.jsp"%>
<script id="scriptInit" type="text/javascript">
	$(document).ready(function() {
		$(".myform").idealforms();
		var msg="${msg}";
		if(msg){
			$.ligerDialog.alert(msg, '邮件发送成功', "none");
		}
	});
</script>
</head>
<body>
	<form action="/example/mail.do" class="myform" name="myform" method="post">
		<div>
			<label>邮件类型</label>
			<select name="mailBean.mailType">
				<option value="SIMPLE">简单邮件</option>
				<option value="MultiPart">带附件邮件</option>
				<option value="HTML">HTML邮件</option>
			</select>
		</div>
		<div>
			<label>邮件标题</label>
			<input  type="text" name="mailBean.subject" value=""/>
		</div>
		<div>
			<label>收信人地址</label>
			<input  type="text" name="mailBean.userEmailAddress" value=""/>
		</div>
		<div>
			<label>邮件内容</label>
			<textarea rows="3" cols="30" name="mailBean.contents">
			</textarea>
		</div>
		<div>
			<label>&nbsp;</label>
			<input type="submit" value="发送"/>
		</div>
	</form>
</body>
</html>